package com.zhifei.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhifei.common.utils.Result;
import com.zhifei.system.domain.DataSourceEntity;
import com.zhifei.system.domain.dto.DataSourceDTO;
import com.zhifei.system.domain.dto.DeleteDTO;
import com.zhifei.system.domain.vo.DataSourceVo;

import java.util.List;
import java.util.Map;

public interface DataSourceService extends IService<DataSourceEntity> {

    Result add(DataSourceDTO dto);

    Result update(DataSourceDTO dto);

    void delete(DeleteDTO dto);

    List<DataSourceVo> queryList();

    Page queryPage(Map<String, Object> params);

}
